package com.example.shgt.entity;

import androidx.annotation.NonNull;

import java.util.List;

public class Data {
    private long current;
    private List<Record> records;
    private long size;
    private long total;

    public long getCurrent() { return current; }
    public void setCurrent(long current) { this.current = current; }
    public List<Record> getRecords() { return records; }
    public void setRecords(List<Record> records) { this.records = records; }
    public long getSize() { return size; }
    public void setSize(long size) { this.size = size; }
    public long getTotal() { return total; }
    public void setTotal(long total) { this.total = total; }

    @NonNull
    @Override
    public String toString() {
        return "Data{" +
                "current=" + current +
                ", records='" + records + '\'' +
                ", size='" + size + '\'' +
                ", total=" + total +
                '}';
    }
}
